﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NCKH.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Name"] != null && Session["Name"] != "")
            {
                lblthongbao.Text = "Xin chào Admin (" + Session["Name"].ToString() + ")";
            }
        }

        protected void lbtnThoat_Click(object sender, EventArgs e)
        {
            Session["Name"] = "";
            Response.Redirect("~/Trangchu.aspx");
        }
    }
}